---
title: Assignment.Duration2 Property (Project)
ms.prod: project-server
api_name:
- Project.Assignment.Duration2
ms.assetid: d51247c6-1270-ba93-13ac-7b5dabb38ccd
ms.date: 06/08/2017
---


# Assignment.Duration2 Property (Project)

 Gets or sets the value of an assignment duration custom field. Read/write **Variant**.


## Syntax

 _expression_. **Duration2**

 _expression_ A variable that represents an **Assignment** object.


